//
//  PPProfileAlbumsTimelineCell.m
//  pickpic
//
//  Created by GaoYongyue on 16/10/4.
//  Copyright © 2016年 MicroDream. All rights reserved.
//

#import "PPProfileAlbumsTimelineCell.h"

@interface PPProfileAlbumsTimelineCell ()
@property (weak, nonatomic) IBOutlet UIView *containerView;
@property (weak, nonatomic) IBOutlet UIImageView *avatarView;
@property (weak, nonatomic) IBOutlet UILabel *nickLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *coverViewHeight;
@property (weak, nonatomic) IBOutlet UIImageView *coverImageView;

@property (weak, nonatomic) IBOutlet UIView *coverBottomMaskView;
@property (weak, nonatomic) IBOutlet UILabel *coverNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *coverCountLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *descLabelHeight;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet DGAlignmentButton *likeCountButton;
@property (weak, nonatomic) IBOutlet DGAlignmentButton *favouriteCountButton;
@property (weak, nonatomic) IBOutlet UIView *commnetsView;
@property (weak, nonatomic) IBOutlet UIButton *likeButton;
@property (weak, nonatomic) IBOutlet UIButton *commentButton;
@property (weak, nonatomic) IBOutlet UIButton *favouriteButton;

@end
@implementation PPProfileAlbumsTimelineCell

- (void)awakeFromNib
{
    [super awakeFromNib];

    __weak typeof(self)weakSelf = self;
    [_avatarView setActionBlock:^(UIControl *control) {
        [weakSelf portraitDidPress];
    } forEvent:UIControlEventTouchUpInside];

    [_nickLabel setActionBlock:^(UIControl *control) {
        [weakSelf portraitDidPress];
    } forEvent:UIControlEventTouchUpInside];
}

- (void)portraitDidPress
{

}


- (IBAction)moreButtonDidPress:(id)sender {

}

- (IBAction)likeButtonDidPress:(id)sender {

}

- (IBAction)commentButtonDidPress:(id)sender {

}

- (IBAction)favouriteButtonDidPress:(id)sender {


}

- (IBAction)likeCountButtonDidPress:(id)sender {

}

- (IBAction)favouriteCountButtonDidPress:(id)sender {

}

+ (CGFloat)heightForTimelineCell:(id)object
{
    CGFloat height = 0;

    return height;
}

@end
